package com.niiwoo.civet.mobile.vo.response.creditloan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@ApiModel("我要担保项目列表")
public class INeedGuaranteeResponseVO {

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "项目状态：5,41,42（正常还款中）；43,44 （逾期还款中）；45,6（已结清）")
    private Byte projectstatus;

    @ApiModelProperty(value = "项目标题")
    private String title;

    @ApiModelProperty(value = "担保用户头像集合")
    private List<String> guaranteeUserHeadImages;

    @ApiModelProperty(value = "借款人头像")
    private String borrowHeadImg;

    @ApiModelProperty(value = "借款人昵称")
    private String borrowNickName;

    @ApiModelProperty(value = "借款人性别(0、未知 1、男 2、女)")
    private Byte borrowSex;

    @ApiModelProperty(value = "尽调人头像")
    private String investigatorHeadImg;

    @ApiModelProperty(value = "尽调人昵称")
    private String investigatorNickName;

    @ApiModelProperty(value = "标的金额")
    private BigDecimal contractAmount;

    @ApiModelProperty(value = "借款市")
    private String loanCity;

    @ApiModelProperty(value = "借款区")
    private String loanArea;

    @ApiModelProperty(value = "发布借款时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime = new Date();

    @ApiModelProperty(value = "担保服务费率")
    private BigDecimal guaranteeRate;

    @ApiModelProperty(value = "借款期限")
    private Integer deadline;

}